package com.foreknow.dao;

import com.foreknow.entity.Medicaldisease;
import com.foreknow.entity.MedicaldiseaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MedicaldiseaseMapper {
    int countByExample(MedicaldiseaseExample example);

    int deleteByExample(MedicaldiseaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Medicaldisease record);

    int insertSelective(Medicaldisease record);

    List<Medicaldisease> selectByExample(MedicaldiseaseExample example);

    Medicaldisease selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Medicaldisease record, @Param("example") MedicaldiseaseExample example);

    int updateByExample(@Param("record") Medicaldisease record, @Param("example") MedicaldiseaseExample example);

    int updateByPrimaryKeySelective(Medicaldisease record);

    int updateByPrimaryKey(Medicaldisease record);
}